export interface TreeNode {
  id: number
  [key: string]: unknown
}

export interface TreeConfig {
  url: string
  method?: 'get' | 'post' | 'put' | 'delete'
}

export interface TreeProps {
  label?: string
  isLeaf?: string
}

export interface NodeClickData {
  id: number
  [key: string]: unknown
}
